package app.service;

import java.util.List;

import app.bean.User;

public interface UserService {
	public User login(User user);
	public boolean register(User user);
	public boolean update(User user);
	public boolean delete(Integer id);
	public User queryByNameOrPass(User user);
	//查询所有
	public List<User> queryAllByExample(User user);
	
}
